/*
 * @Descripttion: 
 * @Author: zhangchong zc16607@gmail.com
 * @Date: 2023-03-02 18:34:52
 * @LastEditors: zhangchong zc16607@gmail.com
 * @LastEditTime: 2023-03-04 17:51:36
 */
/*
 * @Descripttion: 
 * @Author: zhangchong zc16607@gmail.com
 * @Date: 2023-03-02 18:34:52
 * @LastEditors: zhangchong zc16607@gmail.com
 * @LastEditTime: 2023-03-02 18:42:59
 */

// 内容相关的接口
const { Router } = require('express')
const Content = require('../controller/content.controller')

const router = Router()


router.get('/content/plate/:siteid/:plateid', Content.plate)
router.get('/content/detail/:siteid/:plateid/:aurl', Content.detail)
router.post('/content/subscribe', Content.subscribe)
router.post('/content/download', Content.download)
router.post('/content/collect', Content.collect) // 收藏


module.exports = router